I would love for you to do a tutorial on this. How to trigger events and do math with an updating variable. I'm building an iracing app that triggers multiple events when I complete a lap. The laps count up every time I pass the start/finish line. When this happens, I need to save my current fuel load to a database or csv. Then subtract the last lap fuel from the current lap. I have another app where a json updates approx. every hour, so I check over and over until the time changes which triggers a download. I accomplish this by saving two different variables. A static and a loop looking for the change. When they aren't the same that triggers the event. I'm just wondering if there is a standard way or module to do this?